WhizBase input functions are similar to the report functions. They have different syntax (input functions use general syntax $wbfnname {arg} instead of report functions - $wbfnname[arg]), but the main difference is in way of using them. Inserting server’s date/time in the database as record update time, for example, without input functions requires some serious work including unnecessary redirections and resource consuming.
Example:
If you put hidden field in your report like this
However if you use same function in input syntax WhizBase will ignore it
during report processing. To use same function as above, but this time in input
syntax simply change the value as follows:
WBSP will ignore this function during report processing and visitor's
browser will receive exactly the same code as you wrote it in report:
Because input functions are processed before opening the database it is not possible to use DB related functions as input functions (except $WBSR and $WBSRQ). Using these functions in input syntax will result with empty string.
Any WB form field can have input function in its value and they can be used
both in HTML forms and WBSP files: